/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
Ext.define("carManage.view.ToolBar", {
    extend: 'Ext.toolbar.Toolbar',
    alias: 'widget.gridTool',
    initComponent: function() {
        var me = this;
        this.items = [
            {
                icon: basePath + 'images/icon/add.png',
                action: 'add_btn',
                id:'add_btn',
                text: '新增'
            }, {
                action: 'edit_btn',
                id:'edit_btn',
                icon: basePath + 'images/icon/edit.png',
                text: '编辑'
            }, {
                action: 'del_btn',
                id:'del_btn',
                icon: basePath + 'images/icon/delete.png',
                text: '删除'
            },{
                text:'导出Excel',
                icon: basePath + 'images/icon/excel.png',
                id:'export_xls'
            }

        ];
        me.callParent(arguments);
    }

});

